Nordic Semiconductor /nrf5340_application /P0_NS /PIN_CNF[0]

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as PIN_CNF[0]

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (Input)DIR 0 (Connect)INPUT 0 (Disabled)PULL 0 (S0S1)DRIVE0 (Disabled)SENSE 0 (AppMCU)MCUSEL

DRIVE=S0S1, SENSE=Disabled, MCUSEL=AppMCU, PULL=Disabled, INPUT=Connect, DIR=Input

Description

Description collection: Configuration of GPIO pins

Fields

DIR

Pin direction. Same physical register as DIR register

0 (Input): Configure pin as an input pin

1 (Output): Configure pin as an output pin

INPUT

Connect or disconnect input buffer

0 (Connect): Connect input buffer

1 (Disconnect): Disconnect input buffer

PULL

Pull configuration

0 (Disabled): No pull

1 (Pulldown): Pull down on pin

3 (Pullup): Pull up on pin

DRIVE

Drive configuration

0 (S0S1): Standard ‘0’, standard ‘1’

1 (H0S1): High drive ‘0’, standard ‘1’

2 (S0H1): Standard ‘0’, high drive ‘1’

3 (H0H1): High drive ‘0’, high ‘drive ‘1’’

4 (D0S1): Disconnect ‘0’, standard ‘1’ (normally used for wired-or connections)

5 (D0H1): Disconnect ‘0’, high drive ‘1’ (normally used for wired-or connections)

6 (S0D1): Standard ‘0’, disconnect ‘1’ (normally used for wired-and connections)

7 (H0D1): High drive ‘0’, disconnect ‘1’ (normally used for wired-and connections)

11 (E0E1): Extra high drive ‘0’, extra high drive ‘1’

SENSE

Pin sensing mechanism

0 (Disabled): Disabled

2 (High): Sense for high level

3 (Low): Sense for low level

MCUSEL

Select which MCU/Subsystem controls this pin Note: this field is only accessible from secure code.

0 (AppMCU): Application MCU

1 (NetworkMCU): Network MCU

3 (Peripheral): Peripheral with dedicated pins

7 (TND): Trace and Debug Subsystem

Links

() ()